<?php
require '../../packages/connect_database.php';
mysql_select_db("auction");
$query = mysql_query("SELECT * FROM auction WHERE phone = '{$_COOKIE["phone"]}' AND title <> ''");
if(mysql_num_rows($query) > 0)
	mysql_query("DELETE FROM auction WHERE phone = '{$_COOKIE["phone"]}' AND title <> ''");
